package orderdata;

public class OrderData {
    public long order_date; //订单日期
    public String category;//商品品类
    public String region;//销售地区
    public int user_id;//用户 ID
    public int order_count;//该用户当天的订单数
    public double total_amount;//订单金额

    public OrderData() {}

    public OrderData(long order_date, String category, String region, int user_id, int order_count, double total_amount) {
        this.order_date = order_date;
        this.category = category;
        this.region = region;
        this.user_id = user_id;
        this.order_count = order_count;
        this.total_amount = total_amount;
    }

    @Override
    public String toString() {
        return "OrderData{" +
                "order_date=" + order_date +
                ", category='" + category + '\'' +
                ", region='" + region + '\'' +
                ", user_id=" + user_id +
                ", order_count=" + order_count +
                ", total_amount=" + total_amount +
                '}';
    }
}
